﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration.Provider;

namespace Trackr.ProviderFactory
{
	public class DataProviderCollection<T> : ProviderCollection where T : class
	{
		/// <summary>
		/// Return an instance of DataProvider 
		/// for a specified provider name
		/// </summary>
		/// <param name="name"></param>
		/// <returns></returns>
		new public DataProvider<T> this[string name]
		{
			get { return (DataProvider<T>)base[name]; }
		}
	}
}
